package service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import dao.CommentDao;
import service.CommentService;
@Service
@Transactional
public class CommentServiceImpl implements CommentService {
	
	@Resource(name="commentDaoImpl")
	private CommentDao commentDao;
	
	@Override
	public Boolean replyComment(String comment, String o_id) {
		if(commentDao.replyComment(comment, o_id) != null){
            return true;
        }else {
            return false;
        }
	}
}
